package woc.service;

import java.util.List;

import woc.data.ComboValue;
import woc.data.Node;
import woc.data.PersonNodeMapping;
import woc.data.User;
import woc.service.base.RootService;

public interface NodeService extends RootService {

	public List<Node> getNodeList();

	public Node get(Integer entityId);

	public void deleteNodeById(Integer entityId, User currentUser);

	public List<ComboValue> getNodeSelectOptions();

	public List<Node> getChildrenNodeList(Integer rootNodeId);

	public void saveOrUpdate(Node node);

	public List<Node> getNodeListRemoveRootAndCEO();

	public PersonNodeMapping getPersonNodeMappingByPersonId(Integer id);

	public void saveOrUpdate(PersonNodeMapping mapping);

	

}
